public class XC extends Thread {
	private int a = 0;

	public void run() {
		for (int a = 0; a < 10; a++) {
			System.out.println(currentThread().getName() + ":" + a);
			try {
				sleep(100);
			} catch (InterruptedException e) {
				throw new RuntimeException(e);
			}
		}
	}

}
